package me.boot.common.data.dic;

import lombok.Getter;

@Getter
public enum DicCode implements IDicCode {

    //@formatter:off

    BIZ             ("BIZ","业务自定义"),
    JOB_POST        ("职位"),
    JOB_LEVEL       ("职级"),

    //@formatter:on
    ;

    private final String group;
    private final String comments;

    DicCode(String comments) {
        this("SYS", comments);
    }

    DicCode(String group, String comments) {
        this.group = group;
        this.comments = comments;
    }

    @Override
    public String getCode() {
        return name();
    }
}
